<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.3/vue.js"></script>
    <title>Title</title>
</head>
<body>
<div id="app">

</div>

<script>
    let mix = {
        created:function(){
            console.log('create')
        }
    }
    let component = Vue.extend({
        mixins:[mix]
    })
    let vm = new component()

    let vm2 = new Vue({
        mixins:[
            {
                "created":function () {
                    console.log('test')
                },
                methods:{
                    "test":function(){
                        console.log('this is mix test')
                    }
                }
            }
        ],
        methods:{
            "test":function () {
                console.log('this is method test')
            }
        }
    })
    vm2.test()

</script>
</body>
</html>